package com.hxs.hxsserver.mapper.relay;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hxs.hxsserver.domain.dto.device.FactorDTO;
import com.hxs.hxsserver.domain.dto.device.QueryRelayListDTO;
import com.hxs.hxsserver.domain.dto.device.RelayDTO;
import com.hxs.hxsserver.domain.entity.relay.Relay;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author liuchuan
 * @create 2024/10/8
 */
@Repository
public interface RelayMapper extends BaseMapper<Relay> {

    IPage<RelayDTO> getRelayList(@Param("page") Page<FactorDTO> page, @Param("queryRelayListDTO")  QueryRelayListDTO queryRelayListDTO);
}